﻿
function GetLoadingDialog() {
    var dialog = $('#LoadingDialog');
    dialog.html('<div><img src="../../Images/ajax-loader.gif" /></div>');
    dialog.dialog({
        closeOnEscape: false,
        dialogClass: "no-title",
        bgiframe: true,
        resizable: false,
        modal: true,
        width: 250,
        height: 50
    });

}
function CloseLoadingDialog() {
    var dialog = $('#LoadingDialog');
    dialog.dialog("close");
}
